package com.song.study.spring.Entity;

import org.springframework.beans.factory.FactoryBean;

/**
 * @Author ZhangGuisong
 * @Date 2021/4/24-18:56
 */
public class PersonFactoryBean implements FactoryBean <Person>{


    @Override
    public Person getObject() throws Exception {
        return new Person();
    }

    @Override
    public Class<?> getObjectType() {
        return Person.class;
    }
}
